<?php
/*
   注册用户管理
*/
class MemberController extends AdminController {
	public $modelName = 'Member';
	public function modelProvider() {
		return array_merge(parent::modelProvider(), array(
			'criteria' => array('scopes'=>'related'),
		));
	}
    /*
        actionIndex  列表
        actionEdit   编辑
        actionDelete  删除
    */
	public function outerActions() {
		return array_merge(parent::outerActions(), array(
			'admin' => 'actions.mall.member.admin',
			'edit' => 'actions.mall.member.edit',
			'view' => 'actions.mall.member.view',
		));
	}
}
?>